package com.fagertveit.chainsawrus;

import com.fagertveit.chainsawrus.graphics.Graphics;

public abstract class State {
	protected final Game game;
	protected final Graphics graphics;
	
	public State(Game game) {
		this.game = game;
		this.graphics = game.getGraphics();
	}
	
	public abstract void update(long delta);
	
	public abstract void render(Graphics g, long delta);
	
	public abstract void pause();
	
	public abstract void resume();
	
	public abstract void dispose();
}
